<!-- 首页的顶部组件 -->
<template>
  <div class="topbar">
    <i class="iconfont location">&#xe6d5;</i>
    <span class="text">北京理工大学国防科技园2号楼10层</span>
    <i class="iconfont">&#xe644;</i>
  </div>
</template>

<script>
//composition
export default {
  name: 'topbar'
}
</script>

<style scoped lang="scss">
@import '@/styles/theme.scss';

.topbar {
  width: 100%;
  height: 14.4vw;
  padding: 0 4.8vw;
  font-size: 4.2667vw;
  font-weight: bold;
  color: $theme-font-color;
  background-color: $white;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .location {
    margin-right: 2.2667vw;
  }

  .text {
    flex: auto;
  }
}</style>